{% extends "base.html" %}
{% block title %}
    登录或者创建一个新用户
    <p class="fr clearfix"><span class="red">{{ info }}</span></p>
{% endblock %}
{% block content %}
    <div class="registe">
        <form action="/register_validate/" method="post">
            <fieldset>
                <legend>个人信息</legend>
                <div>用户名 <span class="red">*</span></div>
                <input id="account_name" type="text" name="username" /><span class="red"></span>
                <div class="mt10">邮箱 <span class="red">*</span></div>
                <input id="account_email" type="email" name="email" /><span class="red"></span>
            </fieldset>
            <fieldset>
                <legend>登录信息</legend>
                <div>密码 <span class="red">*</span></div>
                <input id="account_psw" type="password" name="password" /><span class="red"></span>
                <div>确认密码 <span class="red">*</span></div>
                <input id="account_confirm_psw" type="password" name="repassword" /><span class="red"></span>
            </fieldset>
            <div class="clearfix mt20">
                <p class="fr clearfix"><span class="red">* 必须填写区域</span></p>
                <input id="reg_submit" class="fr clearfix mt10" type="submit" value="提 交">
            </div>
        </form>
    </div>
    
{% endblock %}